﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<base href="${webInfo.domain }" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<title>小说分类</title>

		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<!-- JS File -->
		<link type="image/x-icon" href="favicon.ico" rel="shortcut icon" />
		<link rel="stylesheet" type="text/css" href="style/JS/container/assets/skins/sam/container.css" />

		<link id="change_url" rel="stylesheet" type="text/css" href="style/base.css" />

		<script src="js/jquery.js" type="text/javascript"></script>
		<script src="js/page.js" type="text/javascript"></script>
	</head>
	
	<body class="page yui-skin-sam page-min-width">
		 
		<!-- 主体 -->
		<div class="trip-manager clearfix">
			<div class="bd clearfix">
				<!-- 主栏 -->
				<div class="main">
					<div class="col1">
						<div class="mod3 card">
							<div class="hd">
								<div class="hd-l"></div>
								<h2>
									小说分类
								</h2>
							</div>
							<div class="bd">
								<div class="bd-l clearfix">
									<table width="90%" cellspacing="0" cellpadding="0" border="0" id="adverseList"
										class="table3 text-center">
										<tbody>
											<tr>
												<th>
													 ID
												</th> 
												<th>
													分类名
												</th>
												<th>
													排序
												</th> 
												<th>
													操作
												</th>
											</tr>

											<c:forEach items="${list}" var="item" begin="0" step="1" varStatus="statu">
												<tr>
													<td>
														<B>${item.cateId}</B>
													</td>
													<td> 
														<B> ${item.cateName} </B>
													</td> 
													<td>
														<B>${item.showOrder } </B>
													</td> 
													<td>
														<a href='system/category!delCategory.do?category.cateId=${ item.cateId}'>删除</a>
														<a href='system/category!toUpdate.do?category.cateId=${ item.cateId}'>修改</a>
													</td>
												</tr>
											</c:forEach>
										</tbody>
									</table>
								</div>
							</div>
							<div class="ft">
								<div class="ft-l"></div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- / 主栏 -->
		</div>
		<!-- / 主体 -->

	</body>
</html>
